package com.sms.client.request;

import java.io.Serializable;
import java.util.Date;

/**
 * @desc 
 * @author wjw
 * @time 2017年11月16日下午2:36:34
 */
public class ContentSms implements Serializable {
    
    private static final long serialVersionUID = -5604942528942609501L;
    /** 接收手机号 */
    private String mobile;
    /** 发送内容 */
    private String content;
    /** 来自某用户 */
    private String fromUser;
    /** 发送给某用户 */
    private String toUser;
    
    
    public ContentSms() {
		// TODO Auto-generated constructor stub
	}
    
    /**
     * 短信构造器
     * @param mobile 手机号
     * @param content 内容
     * @param fromUser 来自
     * @param toUser  发送到
     */
    public ContentSms(String mobile, String content,String fromUser,String toUser) {
    	this.mobile=mobile;
    	this.content=content;
    	this.fromUser=fromUser;
    	this.toUser=toUser;
	}
    
    public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getFromUser() {
		return fromUser;
	}
	public void setFromUser(String fromUser) {
		this.fromUser = fromUser;
	}
	public String getToUser() {
		return toUser;
	}
	public void setToUser(String toUser) {
		this.toUser = toUser;
	}

	@Override
    public String toString() {
        return "Sms [mobile=" + mobile + ", content=" + content + ", fromUser=" + fromUser + ", toUser=" + toUser + "]";
    }
    
}
